package com.aaa.dem1108.d02;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/8  10:00
 */

/**
 * 简单工厂模式：
 */
public abstract class Test {
    public static void main(String[] args) {
        BiJiBen huaWei = BiJiFactory.createBiJi("HuaWei");
        huaWei.BjB();
        BiJiBen shenZhou = BiJiFactory.createBiJi("ShenZhou");
        shenZhou.BjB();
    }
}
